package git.soulbgm.restapi.amap.com;

import java.util.List;

/**
 * 地图的信息
 *
 * @author SoulBGM
 * @date 2022/10/17 17:58
 */
public class MapInfo {

    private String status;
    private String info;
    private String infocode;
    private String count;
    private SuggestionDTO suggestion;
    private List<DistrictsDTO> districts;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getInfocode() {
        return infocode;
    }

    public void setInfocode(String infocode) {
        this.infocode = infocode;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public SuggestionDTO getSuggestion() {
        return suggestion;
    }

    public void setSuggestion(SuggestionDTO suggestion) {
        this.suggestion = suggestion;
    }

    public List<DistrictsDTO> getDistricts() {
        return districts;
    }

    public void setDistricts(List<DistrictsDTO> districts) {
        this.districts = districts;
    }

    public static class SuggestionDTO {
        private List<?> keywords;
        private List<?> cities;

        public List<?> getKeywords() {
            return keywords;
        }

        public void setKeywords(List<?> keywords) {
            this.keywords = keywords;
        }

        public List<?> getCities() {
            return cities;
        }

        public void setCities(List<?> cities) {
            this.cities = cities;
        }
    }

    public static class DistrictsDTO {
        private List<?> citycode;
        private String adcode;
        private String name;
        private String polyline;
        private String center;
        private String level;
        private List<?> districts;

        public List<?> getCitycode() {
            return citycode;
        }

        public void setCitycode(List<?> citycode) {
            this.citycode = citycode;
        }

        public String getAdcode() {
            return adcode;
        }

        public void setAdcode(String adcode) {
            this.adcode = adcode;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPolyline() {
            return polyline;
        }

        public void setPolyline(String polyline) {
            this.polyline = polyline;
        }

        public String getCenter() {
            return center;
        }

        public void setCenter(String center) {
            this.center = center;
        }

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public List<?> getDistricts() {
            return districts;
        }

        public void setDistricts(List<?> districts) {
            this.districts = districts;
        }
    }
}
